package com.sservice.commonBusiness.controller.admin;

import com.sservice.base.entity.dto.BaseResult;
import com.sservice.commonBusiness.controller.web.Statistic1Controller;
import com.sservice.commonBusiness.e.Statistic;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by suweiming on 2018/3/12.
 */
@Controller
@RequestMapping("/admin/statistic1/")
public class Statistic2Controller extends Statistic1Controller {

    @RequestMapping(value = "set", method = RequestMethod.GET)
    @ResponseBody
    public BaseResult set(Statistic statistic) {
        return super.set(statistic);
    }

}
